﻿using ConsoleApp2.Enum;

namespace ConsoleApp2.Models;

public class Role
{
    public int Id { get; set; } = 1;

    public Role()
    {
        Id++;
    }
    public RoleName RoleName { get; set; }
    public DateTime CreateTime { get; set; }
    public DateTime UpdateTime { get; set; }
    public bool IsDeleted { get; set; }
    public List<Permission> Permissions { get; set; } 
}